package prionityQueue;

import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: yi
 * Date: 2024-07-25
 * Time: 10:39
 */
public class Test6 {
    public static void main(String[] args) {
        MyHeap myHeap = new MyHeap();
        int[] array = {27,15,19,28,34,65,49,25,37};
        myHeap.init(array);
        myHeap.createHeap();
        myHeap.heapSort();
        System.out.println("=====");
    }
}
